package com.anne.fish.service.img;

import java.io.File;

public interface ImageCompress {

	public File compress(File file, String target, int width, int height,String imageType)
	throws Exception;
	
	public byte[] compress(byte[] data,  int width, int height,String imageType)
	throws Exception;
}
